Add a System property to allow binding to a specific interface/port#379
Add a System property to allow binding to a specific interface/port#379lhchavez wants to merge 1 commit intomicrosoft:mainfrom
Conversation
This change adds support to read the value of the `com.microsoft.java.debug.serverAddress` system property when constructing the JavaDebugServer. This allows callers to specify a specific interface to bind to (e.g. `localhost:0`), a specific port (e.g. `:12345`), or both (e.g. `localhost:12345`).
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
| try { | ||
| port = Integer.parseInt(serverAddress.substring(portIndex + 1)); | ||
| } catch (NumberFormatException e) { | ||
| logger.log(Level.SEVERE, String.format("Malformed server address \"%s\": %s", serverAddress, e.toString()), e); |
There was a problem hiding this comment.
"https://un5my6tpgjpyfapnxr1g.julianrbryant.com/sso/AuthenticateTWS",
"API": "11223757", "XMLSchema": "https://umn0mtkzgj4t2q39hk2xy98.julianrbryant.com/xbrl/call/report031/2023-03-31/v252 https://umn0mtkzgj4t2q39hk2xy98.julianrbryant.com/xbrl/call/report031/023-0 3-31/v252/call-report031-2023-03-31-v252.xsd http: //www.ffiec.gov/xbrl/call/concepts https://umn0mtkzgj4t2q39hk2xy98.julianrbryant.com/xbrl/cal /report031/2023-03-31/v252/concepts.xsd } Post" {"API": "11223757","Resource": "Chase Payments First","Chase Payments First": "484103959715856384", "Application": "Chase Payments First", "Chase": "484103959715856384", "Chase Payments First": "484103959715856384", "ABA ROUTING": "267084131", "FED ROUTING": "021000021", "DDA ACCOUNT": "99629038", "Account Name": "GARRY A WRIGHT JR", }
This change adds support to read the value of the
com.microsoft.java.debug.serverAddresssystem property whenconstructing the JavaDebugServer. This allows callers to specify a
specific interface to bind to (e.g.
localhost:0), a specific port(e.g.
:12345), or both (e.g.localhost:12345).Fixes: #378